// © 2009 Microsoft Corporation.  All rights reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Microsoft.InformationSecurity.ISRM.TaskManagment.Classes
{
    /// <summary>
    /// Represents a snapshot of entire change transaction. Includes a snapshot of the entire task with old values.
    /// </summary>
    public class TaskHistory
    {
        /// <summary>
        /// Version number of the task history item
        /// </summary>
        public decimal VersionNumber
        {
            get;
            set;
        }

        /// <summary>
        /// Snapshot XML String of the task history
        /// </summary>
        public string Snapshot
        {
            get;
            set;
        }

        /// <summary>
        /// Date and time when the change occured
        /// </summary>
        public DateTime Timestamp
        {
            get;
            set;
        }

        /// <summary>
        /// User who changed the task
        /// </summary>
        public int UserID
        {
            get;
            set;
        }

        /// <summary>
        /// Identifier of the snapshot
        /// </summary>
        public int ID
        {
            get;
            set;
        }
    }
}
